 
package com.zdkj.subway.epm.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zdkj.subway.epm.entity.SwExTicketOperation;
import com.zdkj.subway.epm.mapper.SwExTicketOperationMapper;
import com.zdkj.subway.epm.service.SwExTicketOperationService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 票务运作问题
 *
 * @author chenbo
 * @date 2020-06-04 17:30:47
 */
@Service
@AllArgsConstructor
public class SwExTicketOperationServiceImpl extends ServiceImpl<SwExTicketOperationMapper, SwExTicketOperation> implements SwExTicketOperationService {

    private SwExTicketOperationMapper swExTicketOperationMapper;
    /*
     * 导出数据(non-Javadoc)
     * @see com.zdkj.subway.epm.service.SwExTicketOperationService#export(com.baomidou.mybatisplus.extension.plugins.pagination.Page, com.baomidou.mybatisplus.core.conditions.Wrapper)
     */
    @Override
    public IPage export(Page page, Wrapper<SwExTicketOperation> query) {
        return page.setRecords(swExTicketOperationMapper.export(page,query));
    }
}
